﻿<%@ Page Title="Venta Externa - Personas en Tienda" Language="C#" MasterPageFile="~/MasterPage/Master.Master" AutoEventWireup="true" CodeBehind="wFrmVentaExternaPersonasTienda.aspx.cs" Inherits="Crosland.Automotriz.Web.Vehiculos.wFrmVentaExternaPersonasTienda" %>
<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="server">


          <div class="main-header" style="width:100%;">
            <div class="main-titulo" style="text-align: left">Venta Externa - Personas en Tienda</div>
          </div> 

            <div style="padding: 10px">

          <table width="100%">
              <tr>
                  <td colspan="3">
                      <table width="100%">
                          <tr>
                              <td width="115px">
                      <dx:ASPxButton ID="btnConsultar" runat="server" 
                          CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                          CssPostfix="Office2010Blue" 
                          SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Consultar" 
                                      Width="100px" onclick="btnConsultar_Click">
                          <Image Url="~/Images/search.png">
                          </Image>
                      </dx:ASPxButton>
                              </td>
                              <td>
                                  <dx:ASPxButton ID="btnSalir" runat="server" 
                                      CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                      CssPostfix="Office2010Blue" onclick="btnSalir_Click" 
                                      SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Salir" 
                                      Width="100px">
                                      <Image Url="~/Images/logout.png">
                                      </Image>
                                  </dx:ASPxButton>
                              </td>
                          </tr>
                          <tr>
                              <td colspan="2">
                                  <hr />
                              </td>
                          </tr>
                      </table>
                  </td>
              </tr>
              <tr>
                  <td colspan="3">
                      <table width="100%">
                          <tr>
                              <td style="width: 33px">
                      <asp:Label ID="Label1" runat="server" ForeColor="Black" Text="Año:"></asp:Label>
                              </td>
                              <td width="110">
                      <dx:ASPxComboBox ID="cboAño" runat="server" 
                          CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                          CssPostfix="Office2010Blue" Spacing="0" 
                          SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                          Width="100px">
                          <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                          </LoadingPanelImage>
                          <LoadingPanelStyle ImageSpacing="5px">
                          </LoadingPanelStyle>
                          <ButtonStyle Width="20px">
                          </ButtonStyle>
                          <Paddings PaddingLeft="5px" />
                      </dx:ASPxComboBox>
                              </td>
                              <td style="width: 31px">
                      <asp:Label ID="Label2" runat="server" ForeColor="Black" Text="Mes:"></asp:Label>
                              </td>
                              <td>
                      <dx:ASPxComboBox ID="cboMes" runat="server" 
                          CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                          CssPostfix="Office2010Blue" Spacing="0" 
                          SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                          SelectedIndex="0" Width="100px">
                          <Items>
                              <dx:ListEditItem Selected="True" Text="Enero" Value="1" />
                              <dx:ListEditItem Text="Febrero" Value="2" />
                              <dx:ListEditItem Text="Marzo" Value="3" />
                              <dx:ListEditItem Text="Abril" Value="4" />
                              <dx:ListEditItem Text="Mayo" Value="5" />
                              <dx:ListEditItem Text="Junio" Value="6" />
                              <dx:ListEditItem Text="Julio" Value="7" />
                              <dx:ListEditItem Text="Agosto" Value="8" />
                              <dx:ListEditItem Text="Setiembre" Value="9" />
                              <dx:ListEditItem Text="Octubre" Value="10" />
                              <dx:ListEditItem Text="Noviembre" Value="11" />
                              <dx:ListEditItem Text="Diciembre" Value="12" />
                          </Items>
                          <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                          </LoadingPanelImage>
                          <LoadingPanelStyle ImageSpacing="5px">
                          </LoadingPanelStyle>
                          <ButtonStyle Width="20px">
                          </ButtonStyle>
                          <Paddings PaddingLeft="5px" />
                      </dx:ASPxComboBox>
                              </td>
                              <td align="right">
                      <table cellpadding="0" cellspacing="0" width="200px">
                          <tr>
                              <td bgcolor="Honeydew" height="20" style="border: 1px solid #000000" width="20">
                                  &nbsp;</td>
                              <td style="padding-left: 5px" align="left">
                                  <asp:Label ID="Label11" runat="server" ForeColor="Black" Text="Con datos"></asp:Label>
                              </td>
                              <td bgcolor="White" height="20" style="border: 1px solid #000000" width="20">
                                  &nbsp;</td>
                              <td style="padding-left: 5px" align="left">
                                  <asp:Label ID="Label12" runat="server" ForeColor="Black" Text="Sin datos"></asp:Label>
                              </td>
                          </tr>
                      </table>
                              </td>
                          </tr>
                      </table>
                  </td>
              </tr>
              <tr>
                  <td style="width: 35px">
                      &nbsp;</td>
                  <td>
                      &nbsp;</td>
                  <td>
                      &nbsp;</td>
              </tr>
    </table>

                <asp:GridView ID="dgCrono" runat="server" AutoGenerateColumns="False" 
                    BorderStyle="Solid" BorderWidth="1px" CellPadding="2" 
                    Width="400px">
                    <RowStyle BorderColor="White" BorderStyle="Solid" BorderWidth="1px" 
                        HorizontalAlign="Center" VerticalAlign="Middle"/>
                    <Columns>
                        <asp:TemplateField>
                            <ItemTemplate>

                                    <table border="0" cellpadding="0" cellspacing="0" runat="server" id="tblDomingo"
                                        style="border: 1px solid #C0C0C0; width: 50px; height: 50px;">
                                        <tr>
                                            <td align="center">
                                                <asp:LinkButton ID="lnkDomingo" runat="server" Font-Bold="True" 
                                                    Font-Size="16pt" ForeColor="#336699" Text='<%# Bind("Domingo") %>' 
                                                    Height="50px" Width="50px"></asp:LinkButton>
                                            </td>
                                        </tr>
                                    </table>

                            </ItemTemplate>
                            <HeaderTemplate>
                                <asp:Label ID="Label4" runat="server" Font-Bold="True" Font-Size="12pt" 
                                    Text="Domingo"></asp:Label>
                            </HeaderTemplate>
                            <ItemStyle BorderStyle="None" />
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <ItemTemplate>

                                    <table cellpadding="0" cellspacing="0" runat="server" id="tblLunes"
                                        style="border: 1px solid #C0C0C0; width: 50px; height: 50px;">
                                        <tr>
                                            <td align="center">
                                                <asp:LinkButton ID="lnkLunes" runat="server" Font-Bold="True" Font-Size="16pt" 
                                                    ForeColor="#336699" Text='<%# Bind("Lunes") %>' Height="50px" Width="50px"></asp:LinkButton>
                                            </td>
                                        </tr>
                                    </table>

                            </ItemTemplate>
                            <HeaderTemplate>
                                <asp:Label ID="Label5" runat="server" Font-Bold="True" Font-Size="12pt" 
                                    Text="Lunes"></asp:Label>
                            </HeaderTemplate>
                            <ItemStyle BorderStyle="None" />
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <ItemTemplate>

                                    <table cellpadding="0" cellspacing="0"  runat="server" id="tblMartes"
                                        style="border: 1px solid #C0C0C0; width: 50px; height: 50px;">
                                        <tr>
                                            <td align="center">
                                                <asp:LinkButton ID="lnkMartes" runat="server" Font-Bold="True" Font-Size="16pt" 
                                                    ForeColor="#336699" Text='<%# Bind("Martes") %>' Height="50px" 
                                                    Width="50px"></asp:LinkButton>
                                            </td>
                                        </tr>
                                    </table>

                                </asp:RoundedCornersExtender>
                            </ItemTemplate>
                            <HeaderTemplate>
                                <asp:Label ID="Label6" runat="server" Font-Bold="True" Font-Size="12pt" 
                                    Text="Martes"></asp:Label>
                            </HeaderTemplate>
                            <ItemStyle BorderStyle="None" />
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <ItemTemplate>

                                    <table cellpadding="0" cellspacing="0" runat="server" id="tblMiercoles"
                                        style="border: 1px solid #C0C0C0; width: 50px; height: 50px;">
                                        <tr>
                                            <td align="center">
                                                <asp:LinkButton ID="lnkMiercoles" runat="server" Font-Bold="True" 
                                                    Font-Size="16pt" ForeColor="#336699" Text='<%# Bind("Miercoles") %>' 
                                                    Height="50px" Width="50px"></asp:LinkButton>
                                            </td>
                                        </tr>
                                    </table>


                            </ItemTemplate>
                            <HeaderTemplate>
                                <asp:Label ID="Label7" runat="server" Font-Bold="True" Font-Size="12pt" 
                                    Text="Miercoles"></asp:Label>
                            </HeaderTemplate>
                            <ItemStyle BorderStyle="None" />
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <ItemTemplate>

                                    <table cellpadding="0" cellspacing="0" runat="server" id="tblJueves"
                                        style="border: 1px solid #C0C0C0; width: 50px; height: 50px;">
                                        <tr>
                                            <td align="center">
                                                <asp:LinkButton ID="lnkJueves" runat="server" Font-Bold="True" Font-Size="16pt" 
                                                    ForeColor="#336699" Text='<%# Bind("Jueves") %>' Height="50px" 
                                                    Width="50px"></asp:LinkButton>
                                            </td>
                                        </tr>
                                    </table>

                            </ItemTemplate>
                            <HeaderTemplate>
                                <asp:Label ID="Label8" runat="server" Font-Bold="True" Font-Size="12pt" 
                                    Text="Jueves"></asp:Label>
                            </HeaderTemplate>
                            <ItemStyle BorderStyle="None" />
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <ItemTemplate>

                                    <table cellpadding="0" cellspacing="0" runat="server" id="tblViernes"
                                        style="border: 1px solid #C0C0C0; width: 50px; height: 50px;">
                                        <tr>
                                            <td align="center">
                                                <asp:LinkButton ID="lnkViernes" runat="server" Font-Bold="True" 
                                                    Font-Size="16pt" ForeColor="#336699" Text='<%# Bind("Viernes") %>' 
                                                    Height="50px" Width="50px"></asp:LinkButton>
                                            </td>
                                        </tr>
                                    </table>

                            </ItemTemplate>
                            <HeaderTemplate>
                                <asp:Label ID="Label9" runat="server" Font-Bold="True" Font-Size="12pt" 
                                    Text="Viernes"></asp:Label>
                            </HeaderTemplate>
                            <ItemStyle BorderStyle="None" />
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <ItemTemplate>

                                    <table cellpadding="0" cellspacing="0" runat="server" id="tblSabado"
                                        style="border: 1px solid #C0C0C0; width: 50px; height: 50px;">
                                        <tr>
                                            <td align="center">
                                                <asp:LinkButton ID="lnkSabado" runat="server" Font-Bold="True" Font-Size="16pt" 
                                                    ForeColor="#336699" Text='<%# Bind("Sabado") %>' Height="50px" 
                                                    Width="50px"></asp:LinkButton>
                                            </td>
                                        </tr>
                                    </table>

                            </ItemTemplate>
                            <HeaderTemplate>
                                <asp:Label ID="Label10" runat="server" Font-Bold="True" Font-Size="12pt" 
                                    Text="Sábado"></asp:Label>
                            </HeaderTemplate>
                            <ItemStyle BorderStyle="None" />
                        </asp:TemplateField>
                    </Columns>
                    <HeaderStyle BackColor="#D1DFEF" Height="30px" />
                </asp:GridView>

                <br />

            </div>


</asp:Content>
